const bcrypt = require("bcryptjs");
const createBcrypt = (password) => {
    return bcrypt.hashSync(password, bcrypt.genSaltSync(10));
}
const checkBcrypt = (_password, _hash) => {
    return bcrypt.compareSync(_password, _hash);
}
module.exports = {
    createBcrypt,
    checkBcrypt
}